import Vue from 'vue'
import Router from 'vue-router'
import carBrand from '@/components/carBrand'
import carType from '@/components/carType'
import carStock from '@/components/carStock'
import carAssurance from '@/components/carAssurance'
import carEquipment from '@/components/carEquipment'
import carLicense from '@/components/carLicense'
import carRepair from '@/components/carRepair'
import carPeccancy from '@/components/carPeccancy'
import carPayment from '@/components/carPayment'
import carProduct from '@/components/carProduct'
import carMembershipgradetype from '@/components/carMembershipgradetype'
import carEmbership from '@/components/carEmbership'
import carUser from '@/components/carUser'
import carRechargeRecord from '@/components/carRechargeRecord'
import carManager from '@/components/carManager'
import carCheck from '@/components/carCheck'
import carRoucher from '@/components/carRoucher'
import carIssueVoucher from '@/components/carIssueVoucher'
import carOrder from '@/components/carOrder'
import carRevesionRule from '@/components/carRevesionRule'
import servicecontractManagement from '@/components/servicecontractManagement'

Vue.use(Router)

export default new Router({
  routes: [{
    path: '/',
    name: 'carBrand',
    component: carBrand
  }, {
    path: '/carType',
    name: 'carType',
    component: carType
  }, {
    path: '/carStock',
    name: 'carStock',
    component: carStock
  }, {
    path: '/carAssurance',
    name: 'carAssurance',
    component: carAssurance
  }, {
    path: '/carEquipment',
    name: 'carEquipment',
    component: carEquipment
  }, {
    path: '/carLicense',
    name: 'carLicense',
    component: carLicense
  }, {
    path: '/carRepair',
    name: 'carRepair',
    component: carRepair
  }, {
    path: '/carPeccancy',
    name: 'carPeccancy',
    component: carPeccancy
  }, {
    path: '/carProduct',
    name: 'carProduct',
    component: carProduct
  }, {
    path: '/carPayment',
    name: 'carPayment',
    component: carPayment
  }, {
    path: '/carMembershipgradetype',
    name: 'carMembershipgradetype',
    component: carMembershipgradetype
  }, {
    path: '/carEmbership',
    name: 'carEmbership',
    component: carEmbership
  }, {
    path: '/carUser',
    name: 'carUser',
    component: carUser
  }, {
    path: '/carRechargeRecord',
    name: 'carRechargeRecord',
    component: carRechargeRecord
  }, {
    path: '/carManager',
    name: 'carManager',
    component: carManager
  }, {
    path: '/carCheck',
    name: 'carCheck',
    component: carCheck
  }, {
    path: '/carRoucher',
    name: 'carRoucher',
    component: carRoucher
  }, {
    path: '/carIssueVoucher',
    name: 'carIssueVoucher',
    component: carIssueVoucher
  }, {
    path: '/carOrder',
    name: 'carOrder',
    component: carOrder
  }, {
    path: '/carRevesionRule',
    name: 'carRevesionRule',
    component: carRevesionRule
  }, {
    path: '/servicecontractManagement',
    name: 'servicecontractManagement',
    component: servicecontractManagement
  }]
})
